// Compatibility shim for packages expecting a default export object from
// 'use-sync-external-store/shim/with-selector'. Some downstream ESM builds
// (e.g., tunnel-rat's bundled zustand) do `import default` and then access
// `.useSyncExternalStoreWithSelector` on it. We provide that shape here.

import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/with-selector'

export default { useSyncExternalStoreWithSelector }



declare module '@react-three/fiber' {
  interface ThreeElements {
    orbitControls: any
  }
}
